home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / Xm / XmStringDraw.z / XmStringDraw
Text File  |  1998-10-30  |  6KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwww((((3333XXXX))))          UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV          XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwww((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwww - A compound string function that draws a
  10.           compound string in an X window
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           #include <Xm/Xm.h>
  14.           vvvvooooiiiidddd XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwww(
  15.           DDDDiiiissssppppllllaaaayyyy **** dddd,
  16.           WWWWiiiinnnnddddoooowwww wwww,
  17.           XXXXmmmmRRRReeeennnnddddeeeerrrrTTTTaaaabbbblllleeee rrrreeeennnnddddeeeerrrrttttaaaabbbblllleeee,
  18.           XXXXmmmmSSSSttttrrrriiiinnnngggg ssssttttrrrriiiinnnngggg,
  19.           GGGGCCCC ggggcccc,
  20.           PPPPoooossssiiiittttiiiioooonnnn xxxx,
  21.           PPPPoooossssiiiittttiiiioooonnnn yyyy,
  22.           DDDDiiiimmmmeeeennnnssssiiiioooonnnn wwwwiiiiddddtttthhhh,
  23.           uuuunnnnssssiiiiggggnnnneeeedddd cccchhhhaaaarrrr aaaalllliiiiggggnnnnmmmmeeeennnntttt,
  24.           uuuunnnnssssiiiiggggnnnneeeedddd cccchhhhaaaarrrr llllaaaayyyyoooouuuutttt____ddddiiiirrrreeeeccccttttiiiioooonnnn,
  25.           XXXXRRRReeeeccccttttaaaannnngggglllleeee **** cccclllliiiipppp);
  26.  
  27.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  28.           This page documents Motif 2.1.
  29.  
  30.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  31.           XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwww draws a compound string in an X Window.  If a
  32.           compound string segment uses a rendition that contains a
  33.           font set, the graphic context passed to this routine will
  34.           have the GC font member left in an undefined state. The
  35.           underlying XXXXmmmmbbbbSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwww function called by this routine
  36.           modifies the font ID field of the GC passed into it and does
  37.           not attempt to restore the font ID to the incoming value. If
  38.           the compound string segment is not drawn using a font set,
  39.           the graphic context must contain a valid font member.
  40.           Graphic contexts created by XXXXttttGGGGeeeettttGGGGCCCC are not valid for this
  41.           routine; instead, use XXXXttttAAAAllllllllooooccccaaaatttteeeeGGGGCCCCto create a graphic
  42.           context.
  43.  
  44.           _d         Specifies the display.
  45.  
  46.           _w         Specifies the window.
  47.  
  48.           _r_e_n_d_e_r_t_a_b_l_e
  49.                     Specifies the render table.
  50.  
  51.           _s_t_r_i_n_g    Specifies the string.
  52.  
  53.           _g_c        Specifies the graphics context to use.
  54.  
  55.           _x         Specifies a coordinate of the rectangle that will
  56.                     contain the displayed compound string.
  57.  
  58.           _y         Specifies a coordinate of the rectangle that will
  59.                     contain the displayed compound string.
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/24/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwww((((3333XXXX))))          UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV          XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwww((((3333XXXX))))
  71.  
  72.  
  73.  
  74.           _w_i_d_t_h     Specifies the width of the rectangle that will
  75.                     contain the displayed compound string.
  76.  
  77.           _a_l_i_g_n_m_e_n_t Specifies how the string will be aligned within
  78.                     the specified rectangle.  It is either
  79.                     XXXXmmmmAAAALLLLIIIIGGGGNNNNMMMMEEEENNNNTTTT____BBBBEEEEGGGGIIIINNNNNNNNIIIINNNNGGGG, XXXXmmmmAAAALLLLIIIIGGGGNNNNMMMMEEEENNNNTTTT____CCCCEEEENNNNTTTTEEEERRRR, or
  80.                     XXXXmmmmAAAALLLLIIIIGGGGNNNNMMMMEEEENNNNTTTT____EEEENNNNDDDD.
  81.  
  82.           _l_a_y_o_u_t__d_i_r_e_c_t_i_o_n
  83.                     Controls the direction in which the segments of
  84.                     the compound string will be laid out. It also
  85.                     determines the meaning of the _a_l_i_g_n_m_e_n_t parameter.
  86.  
  87.           _c_l_i_p      Allows the application to restrict the area into
  88.                     which the compound string will be drawn.  If the
  89.                     value is NULL, clipping will be determined by the
  90.                     GC.
  91.  
  92.      RRRREEEELLLLAAAATTTTEEEEDDDD
  93.           XXXXmmmmSSSSttttrrrriiiinnnnggggCCCCrrrreeeeaaaatttteeee(3).
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                         (printed 10/24/98)
  130.  
  131.  
  132.  
  133.